<ul>
<?php foreach ( $this->flash as $message ): ?>
<li><strong><?php echo ucfirst($message['type']); ?></strong> <?php echo $message['text']; ?></li>
<?php endforeach; ?>
</ul>
<?php echo $this->layout()->content; ?>